package com.mtsmda;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(namespace = "com.mtsmda.java.xml.jaxb.Country")
public class State {

	private String stateName;
	private Long statePopulation;

	public State() {
		super();
	}

	public State(String stateName, Long statePopulation) {
		this();
		setStateName(stateName);
		setStatePopulation(statePopulation);
	}

	public String getStateName() {
		return stateName;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}

	public Long getStatePopulation() {
		return statePopulation;
	}

	public void setStatePopulation(Long statePopulation) {
		this.statePopulation = statePopulation;
	}

	@Override
	public String toString() {
		return "State [stateName=" + stateName + ", statePopulation="
				+ statePopulation + "]";
	}

}